package io.renren.modules.app.entity.nosql;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import io.renren.modules.app.entity.ibps.BpmDef;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Document(collection = "pdf_LcTemplate")
public class LcPdfTemplate {
	@Id
	private String id;
	//关联流程定义id
	private String idBpmDef;
	private String key;
	//模板内容html
	private String html;
	
	
	public LcPdfTemplate(BpmDef bpmDef) {
		super();
		this.key = bpmDef.getKey();
		this.idBpmDef = bpmDef.getId();
	}

	public LcPdfTemplate() {
		super();
	}
}
